sorry i just realized how the setup is one.
are the switches NO or NC?
i would try to wire them in parallel and use M558 P5
they will need to be connected to the z probe port.
but a construct would allow the printhead to move. this would not be beneficial for the print quality.